<html>
<body>
<h2>Hello World!</h2>


<!--
    模拟修改操作
    1.原始数据：1,Tom,123456,tom@cat.com,12
    2.密码不能被修改。
    3.表单回显，模拟操作直接在表单填写对应的属性值
-->

<form action="SpringMvc/testModelAttribute" method="POST">
    <input type="hidden" name="id" value="1"/>
    username:<input type="text" name="username" value="Tom"/>
    <br>
    email:<input type="text"  name="email" value="tom@cat.com"/>
    <br>
    age:<input type="text" name="age" value="12"/>
    <br>
    <input type="submit" value="submit"/>
</form>

<br><br>
<a href="SpringMvc/testSessionAttributes">test SessionAttributes</a>
<br><br>

<a href="SpringMvc/testMap">test Map</a>
<br><br>
<!-----------------------------下面是8.20号之前的-------------------------------------->
<%--<a href="SpringMvc/testModelAndView">test RequestParam</a>--%>
<%--<br><br>--%>

<%--<a href="SpringMvc/testServletAPI">test ServletAPI</a>--%>
<%--<br><br>--%>

<%--<form action="SpringMvc/testPojo" method="post">--%>
    <%--username:<input type="text" name="username"/>--%>
    <%--<br><br>--%>
    <%--password:<input type="password" name="password"/>--%>
    <%--<br><br>--%>
    <%--Email:<input type="text" name="email"/>--%>
    <%--<br><br>--%>
    <%--age:<input type="text" name="age"/>--%>
    <%--<br><br>--%>
    <%--city:<input type="text" name="address.city"/>--%>
    <%--<br><br>--%>
    <%--province:<input type="text" name="address.province"/>--%>
    <%--<br><br>--%>
    <%--<input type="submit" name="submit"/>--%>
<%--</form>--%>

<%--<br><br>--%>
<%--<a href="SpringMvc/testCoolieValue">test RequestParam</a>--%>
<%--<br><br>--%>
<%--<a href="SpringMvc/testRequestHeader">test RequestHeader</a>--%>
<%--<br><br>--%>

<%--<a href="SpringMvc/testRequestParam?name=wuyu&age=11&test=111">test RequestParam</a>--%>
<%--<br><br>--%>
<!-----------------------------下面8.19之前的-------------------------------------->
<%--<form action="SpringMvc/testRest/1" method="post">--%>
    <%--<input type="hidden" name="_method" value="PUT">--%>
    <%--<input type="submit" value="test Rest PUT">--%>
<%--</form>
<form action="SpringMvc/testRest/1" method="post">
    <input type="hidden" name="_method" value="DELETE">
    <input type="submit" value="test Rest DELETE">
</form>
<form action="SpringMvc/testRest" method="post">
    <input type="submit" value="test Rest Post">
</form>
<a href="SpringMvc/testRest/1">test Rest Get</a>

<br><br>>
<a href="SpringMvc/testPathVariable/1">test  PathVariable</a>

<br><br>
<a href="SpringMvc/testAntPath/wuyu/ant">test AntPath</a>

<br><br>
<a href="SpringMvc/testParamsAndHeaders?username='wuyu'&age=11">test ParamsAndHeaders</a>
<br><br>

<form action="SpringMvc/testMethod" method="post">
    <input type="submit" value="test Method"/>
</form>

<a href="SpringMvc/testMethod" method="post">test Method</a>

<br><br>
<a href="SpringMvc/TestRequestMapping">Test RequestMapping</a>

<br><br>
<a href="helloworld">Hello World!</a>--%>
</body>
</html>
